<!--The content below is only a placeholder and can be replaced.-->
<div style="text-align:center">
  <h1>
    Welcome to {{ title }}!
  </h1>
  <img width="300" alt="Angular Logo"
       src="">
</div>
<h2>Here are some links to help you start: </h2>
<ul>
  {{list | json}}
</ul>
<form>
  <input [(ngModel)]="data.key" name="name" #name="ngModel"/>
  <input [(ngModel)]="data.value" name="value" #value="ngModel"/>
  <button (click)="add()">添加</button>
</form>

<form>
  <input [(ngModel)]="data.key" name="name" #name="ngModel"/>
  <button (click)="delete()">删除</button>
</form>

<form>
  <input [(ngModel)]="data.key" name="name" #name="ngModel"/>
  <input [(ngModel)]="data.value" name="value" #value="ngModel"/>
  <button (click)="modfiy()">修改</button>
</form>

<router-outlet></router-outlet>
